package com.dfbz.demo01_静态代理;

/**
 * @author lscl
 * @version 1.0
 * @intro:
 */
public class ZhongJie implements FangZiHeTong {

    private FangDong fangDong;

    public ZhongJie(FangDong fangDong){
        this.fangDong=fangDong;
    }

    @Override
    public void HJF() {

        System.out.println("多收500快");
        fangDong.HJF();
        System.out.println("押金再多收800");
    }

    @Override
    public void JJF() {
        System.out.println("多收200快");
        fangDong.JJF();
        System.out.println("押金再多收500");
    }

    @Override
    public void BS() {
        System.out.println("多收2000快");
        fangDong.BS();
        System.out.println("押金再多收5000");
    }

    @Override
    public void GY() {
        System.out.println("多收50快");
        fangDong.GY();
        System.out.println("押金再多收1000");
    }
}
